home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10094 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  825 b 

  1. Path: inforamp.net!ts26-11
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Leap year
  5. Date: Wed, 06 Mar 96 04:26:19 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4hj451$elu@sam.inforamp.net>
  8. References: <3135A7F2.2120@hiwaay.net> <4hbiln$899@sam.inforamp.net> <4hesba$ph@clarknet.clark.net>
  9. NNTP-Posting-Host: ts26-11.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4hesba$ph@clarknet.clark.net>,
  13.    gusty@clark.net (Harlan Messinger) wrote:
  14. >Sorry, you didn't. (x&4) does not tell you whether x is divisible by 4. 
  15. >(x&4) returns TRUE, for example, for 5, 6 and 7, none of which is
  16. >divisible by 4. And so on for 100 and 1000. And anyway, the third magic
  17. >number is 400, not 1000. 
  18.  
  19. Oops!  That's what happens when you write before you think.
  20.  
  21. Agrivar
  22.